#include "delay.h"
#include "intrins.h"

void Delay1ms()		//@35MHz
{
	unsigned char i, j;

	_nop_();
	_nop_();
	i = 46;
	j = 113;
	do
	{
		while (--j);
	} while (--i);
}


void delay_ms(unsigned int ms)
{
	while(ms--)
	{
		Delay1ms();
	}
}





